export interface Core {
    container: HTMLElement //页面容器
    canvas: HTMLElement //canvas
    ctx: CanvasRenderingContext2D
    step: number
    lines: Array<{ hex: string, rgba: string }>
    frame: number | null
}

export interface Options {
    number: number
    smooth: number
    velocity: number
    height: number
    colors: Array<{ hex: string, rgba: string }>
    opacity: number
    border: {
        show: boolean
        width: number
        color: string[]
    }
    position: 'top' | 'bottom' | 'left' | 'right'
}